Documentation version 1.0
myLibrary is a single page application (SPA) that allows you to easily manage your library activity. It allows you to manage books, clients and rentals. The interface is 100% responsive and can be used from any device. You can use it on you hosting or offline on your localhost server, there are't any dependency from external sources.
Thanks for purchase. Let's start !
There're 3 folders inside the archive:
Before you can use the app you've to configure the database settings in upload/bootstrap/settings.php file and then follow the installation steps.
Open bootstrap/settings.php and set your database information
//Database 'db' => [ 'host' => 'localhost', 'user' => 'your database user', 'pass' => 'your database password', 'dbname' => 'your database name', ],
Be sure you've configured the database informations in settings file or you can't go ahead with installation
These are the steps to install and configure the application first time.
myLibrary allows you to manage books, clients, rentals. It's composed by 3 main pages:
If you want to edit the code and make modifications to the app, you've to use the files inside dev folder.
The main difference between dev files and upload files are:
This app makes use of 2 main framework: Slim 3 and Backbone. Slim is used for all backend logic (connection with database). Backbone is used for all frontend to build the pages and interact with back-end. All communications between these two frameworks happens with CRUD interface.
If you want to edit the backend code you can find all php files inside app folder.
If you want to edit the frontend code you can find all php files inside js folder. Here you've the main.js file that loads all js files with RequireJS and the app folder that contains all models and views used by backbone.
Once you made all the desired modifications, you can rebuild the upload folder using RequireJS Optimizer (r.js). To use the optimizer you need node.js and run this command from console:
//Navigate to your app folder node r.js -o build/app.build.js
For more informations visit the official documentation.
myLibrary frontend can also be translated to your native language. The application will auto detect the browser language with javascript.
To create a new translation follow these steps:
'it-it': true, 'fr-fr': true, 'custom-custom': true
Please remember you have purchased a very affordable script and you have not paid for a full-time developer. Occasionally we will help with small tweaks, but these requests will be put on a lower priority due to their nature.
Please visit our profile page
Support for my items includes:These are the primary CSS files used for general front-end styling. All included css codes under css folder
These are the various attribution inks to the Javascript files included or modified. All included JavaScript codes under js/libs folder
Once again, thank you so much for purchasing this script. As I said at the beginning, I'd be glad to help you if you have any questions relating to this script. No guarantees, but I'll do my best to assist. If you have a more general question relating to the scripts on CodeCanyon, you might consider visiting the forums and asking your question in the "Item Discussion" section.
----------------------------------------------------------------------------------------- Version 1.0.0 - 11-24-2016 ----------------------------------------------------------------------------------------- - first release